import copy

#deep copy
a = [[1,2], [3,4]]

b = copy.deepcopy(a)
b[0][0] = 10

print (a)
print (b)

a = [[1,2], [3,4]]

#shallow copy
b = copy.copy(a)
b[0][0] = 10

print (a)
print (b)





